# (c) Copyright 2008 Paul Hankin. All Rights Reserved. 

import jelly

FORMATS = dict(jelly=jelly)

def import_match(file, format):
    """Read a match from the file, using the given format."""
    reader = FORMATS[format]
    return reader.Match(file)
